import request from '@/utils/request'
export const goodsList = (data) => {
    return request.get('/goods/list', { params: data })
}
export const goodsDel = (data) => {
    return request.get('/goods/del', { params: data })
}
export const goodsEdit = (data) => {
    return request.post('/goods/edit', data)
}
export const  goodsInfo = (params)=>{
    return request.get(`/goods/info`,{params})
}
export const  goodsCatelist = (params)=>{
    return request.get(`/goods/catelist`,{params})
}
export const  goodsAdd = (data)=>{
    return request.post(`/goods/add`,data)
}
    
